﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TTEngine.MapObjects
{
    public class Table : MapObject
    {
        //constructor
        public Table()
            : base()
        {
            CanTake = true;
            CanReady = true;
            HandsRequired = 2;
            Damage = new DamageExpressionList("1z10=b");
            UnitWeight = 10;
            Flamability = 20;
            BurnLifetime = Globals.RandomIntFromTo(10, 15);
            DressingLevel = 1;
            BlocksMovement = true;
        }

        //clone
        public override MapObject Clone()
        {
            return new Table();
        }

        //might break
        public override bool BreaksWhenStressed(StressType st)
        {
            return Globals.RandomIntFromTo(1, 100) < 33;
        }
    }
}
